﻿#region Copyright (C) Sector7 Software Studio. All rights reserved
/*******************************************************************************************
 * Creation
 *      Author:         Wolf Lai
 *      Date:           2013/5/5 星期日 23:16:02
 *      Version:        
 * Modification 
 *      Author: 
 *      Date: 
 *      Description: 
 *      Version:
 *******************************************************************************************/
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Sector7.Framework.Core;

namespace Sector7.Framework.Utility
{
    /// <summary>
    /// Excel工具类
    /// </summary>
    public class ExcelUtil
    {
        #region Public functions
        /// <summary>
        /// 获取ExcelSheet列表
        /// </summary>
        /// <param name="filePath">Excel文件全名</param>
        /// <returns>ExcelSheet列表</returns>
        public static List<ExcelSheet> GetExcelSheetList(string filePath)
        {
            return new ExcelDocument(filePath).GetExcelSheetList();
        }
        #endregion

        #region Private functions
        #endregion
    }
}
